﻿using System.Windows;
using System.Windows.Controls;

namespace SuiYuan.UI.Controls.Forms
{
    public class LayUITextBox : TextBox
    {

        public bool Radius {
            get { return (bool)GetValue(RadiusProperty); }
            set { SetValue(RadiusProperty, value); }
        }

        /// <summary>
        /// 提示信息
        /// </summary>
        public string PlaceHolder
        {
            get { return (string)GetValue(PlaceHolderProperty); }
            set { SetValue(PlaceHolderProperty, value); }
        }

        public static readonly DependencyProperty PlaceHolderProperty = DependencyProperty.Register("PlaceHolder", typeof(string), typeof(LayUITextBox));
        public static readonly DependencyProperty RadiusProperty = DependencyProperty.Register("Radius", typeof(bool), typeof(LayUITextBox));
    }
}
